//
//  EPMGoodsModel.m
//  myXianfeng
//
//  Created by 马继鵬 on 17/5/6.
//  Copyright © 2017年 EPM. All rights reserved.
//

#import "EPMGoodsModel.h"
#import "EPMHomeViewModel.h"

@implementation EPMGoodsModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

- (void)setName:(NSString *)name{
    NSString* nameStr =name;
    const char *c = [nameStr cStringUsingEncoding:NSISOLatin1StringEncoding];
    _name = [[NSString alloc] initWithCString:c encoding:NSUTF8StringEncoding];
}

- (void)setLong_name:(NSString *)long_name{
    NSString* nameStr =long_name;
    const char *c = [nameStr cStringUsingEncoding:NSISOLatin1StringEncoding];
    _long_name = [[NSString alloc] initWithCString:c encoding:NSUTF8StringEncoding];
}

- (void) setKeywords:(NSString *)keywords{
    NSString* nameStr =keywords;
    const char *c = [nameStr cStringUsingEncoding:NSISOLatin1StringEncoding];
    keywords = [[NSString alloc] initWithCString:c encoding:NSUTF8StringEncoding];
}
@end
